﻿using Microsoft.VisualBasic;
using System;
using System.Security.Cryptography.X509Certificates;

namespace ConsoleApp3
{
    class Program
    {
        static void Main(string[] args)
        {
            Text pra = new Text() ;
            Console.WriteLine("请输入个数字");
            double num1 = Convert.ToDouble(Console.ReadLine());
            Console.WriteLine("请输入个数字");
            double num2 = Convert.ToDouble(Console.ReadLine());


            if (num1 < num2) 
            {
             var res =   pra.Add(num1, num2);
                Console.WriteLine(res);
            }
            else if (num1 > num2)
            {
              var res =  pra.Minys(num1, num2);
                Console.WriteLine(res);
            }   
            else
            {
                Console.WriteLine("一切未知");
            }
           

                
        }
    }
}
